package com.xdf.ecommerce.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 扣减库存用的值对象类
 * @author chanchaw
 * @create 2025-10-27 23:11
 */
@ApiModel(description = "扣减商品库存的实体类")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeductGoodsInventory implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "商品编码 = t_ecommerce_goods.id")
    private Long goodsId;
    @ApiModelProperty(value = "扣减的数量")
    private Integer count;
}
